import request from "@/utils/request";

//  /admin/product/getCategory1
//请求category1id
export const reqGetCategory1 = ()=>{
  return request.get(`/admin/product/getCategory1`)
}
//  /admin/product/getCategory2/{category1Id}
export const reqGetCategory2 = (category1Id)=>{
  return request.get(`/admin/product/getCategory2/${category1Id}`)
}
//  /admin/product/getCategory3/{category2Id}
export const reqGetCategory3 = (category2Id)=>{
  return request.get(`/admin/product/getCategory3/${category2Id}`)
}
